package cn.wolfcode.p2p.bussness.domain;

import cn.wolfcode.p2p.base.domain.BaseDomain;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;


@Setter@Getter
public class PlatformBankInfo extends BaseDomain {
    private String bankName;//银行名称
    private String accountName;//账户名称
    private String accountNumber;//账户卡号
    private String bankForkname;//分支名称
    public String getJsonString(){
        Map<String,Object> map = new HashMap<String,Object>();
        map.put("id",super.getId());
        map.put("bankName",bankName);
        map.put("accountName",accountName);
        map.put("accountNumber",accountNumber);
        map.put("bankForkname",bankForkname);
        return JSON.toJSONString(map);

    }
}
